all: examples/client examples/server

examples/client: examples/client_main.cc src/client.cc src/protocol.cc
	g++ -o $@ $^ -std=c++11 -Iinclude

examples/server: examples/server_main.cc src/server.cc src/protocol.cc
	g++ -o $@ $^ -std=c++11 -lev -Iinclude

.PHONY: clean
clean:
	rm -f examples/client examples/server

